package com.parenting.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.parenting.entities.ParentingShopDO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.parenting.request.UnclaimedListConditionRequest;
import com.parenting.response.UnclaimedListResponse;
import com.parenting.response.platform.ClaimNotice;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 店铺主表 Mapper 接口
 * </p>
 *
 * @author 烟台业达-王世玺
 * @since 2021-08-18
 */
public interface ParentingShopMapper extends BaseMapper<ParentingShopDO> {

    IPage<UnclaimedListResponse> ListOfUnclaimedShops(@Param("page")IPage page,@Param("ucd") UnclaimedListConditionRequest ucd);

    /***
     * 店铺认领通知列表
     * @return
     */
    List<ClaimNotice> getClaimNoticeList(@Param("state") Integer state);
}
